package com.jintoufs.dao.baseinfo;

import com.jintoufs.dao.QueryFilters;
import com.jintoufs.domain.baseinfo.Coin;

import java.util.List;
import java.util.Map;

public interface CoinDAO {
    void deleteByPrimaryKey(Integer id);

    void insert(Coin record);

    Coin selectByPrimaryKey(Integer id);

    Coin selectByCoinCode(String code);

    void updateByPrimaryKey(Coin record);

    List<Map<String, Object>> queryByParams(Map<String, Object> params);

    List<Map<String, Object>> querySiteCoinByParams(Map<String, Object> params);

    List<Map<String, Object>> getByFilter(QueryFilters filters);
}